package com.zmn.uac.common.info.wechat;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 类描述：微信用户公众号token信息
 *
 * @author xujie
 * @since 2021/06/15 10:27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WeChatPersonalAccessToken implements Serializable {

    private static final long serialVersionUID = 1L;

    @JSONField(name = "access_token")
    private String accessToken;

    @JSONField(name = "expires_in")
    private Integer expiresIn;

    @JSONField(name = "refresh_token")
    private String refreshToken;

    private String openid;

    private String scope;
}
